package com.ssm.dto.mybatis;

public class Dept {
	private int id;
	private String name;

	// SET FOREIGN_KEY_CHECKS=0;
	// DROP TABLE IF EXISTS `dept`;
	// CREATE TABLE `dept` (
	// `id` int(11) NOT NULL AUTO_INCREMENT,
	// `name` varchar(40) DEFAULT NULL,
	// PRIMARY KEY (`id`)
	// ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
	public Dept() {
	}

	public Dept(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
